/*
 * @Description: {{ByRuin}}
 * @Version: 2.0
 * @Author: Ruin 🍭
 * @Date: 2021-12-20 11:27:35
 * @LastEditors: 刘引
 * @LastEditTime: 2021-12-20 13:34:43
 */
import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
// import index from "@/views/index.vue";
import home from "../views/home/index.vue";
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "home",
    component: home,
  },
  {
    path: "/valuation",
    name: "valuation",
    component: () => import("../views/valuation/index.vue"),
  },
  {
    path: "/technology",
    name: "technology",
    component: () => import("../views/technology/index.vue"),
  },

  {
    path: "/register",
    name: "register",
    component: () => import("../views/register/index.vue"),
  },
  {
    path: "/login",
    name: "login",
    component: () => import("../views/login/index.vue"),
  },
  {
    path: "/about",
    name: "about",
    component: () => import("../views/about/index.vue"),
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
